package net.wofly.sale.commodity.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 渠道与包装商品映射表
 * <ol>
 * 	<li>渠道对应的包装商品映射关系，订单中用于商品的库存处理</li>
 * </ol>
 * @author lign
 * @version 1.0
 * @created 05-三月-2018 14:36:06
 */
@Data
@Entity
@Table(name = "sale_commodity_chnlcmdttmlmap")
@ApiModel(description = "渠道与包装商品映射实体")
public class ChannelCommodityTerminalMapping {

	@Id
	private String channelCommodityTerminalMappingID;
	
	@ApiModelProperty(value = "商品渠道", required = true)
	private String channel;
	
	@ApiModelProperty(value = "终端商品类型", required = true)
	private Integer commodityTerminalType;
	
	private Long modifyDate;

	public ChannelCommodityTerminalMapping(){

	}

}//end ChannelCommodityPkgMapping